[Manager Summary]
Sets up a scaling rectangle for printing a page.
OSStatus PMBeginPage(PMPrintContext printContext, const PMRect pageFrame)
PARAMETERS
printContext
- The PMPrintContext object previously initialized by a call to the function PMBeginDocument. This object defines the current printing port.
pageFrame
- A pointer to a structure of type PMRect. Use this structure to define a bounding rectangle for drawing a page. All items drawn into the printing port are scaled to fit this page rectangle. If no scaling is desired, pass NIL.
- function result
- A result code. See Result Codes.
DISCUSSION
Call the PMBeginPage function only after calling the function PMBeginDocument.
You must balance every call to PMBeginPage with a call to PMEndPage.
CARBON PORTING NOTES
The PMBeginPage function replaces the Printing Manager function PrOpenPage.
Last modified: 5/7/99. Status: Draft Copyright 1999 Apple Computer, Inc. All rights reserved.